Easy2Siksha.com
4. Explain various database models along with their advantages and disadvantages.
Ans: Introducon (Story Style)
Imagine youre the manager of a big library. This library has thousands of books. You also
have members who borrow books, and employees who manage them. Now, you want to
store all this informaon in a way thats easy to manage, search, and update.
You could write it in a notebook (tradional way), but that's messy. So, you decide to use a
Database Management System (DBMS).
But here comes the twist there are dierent types of database models just like dierent
ways to organize your library:
By category (con, science, history)
By author name
By shelf number
Each method has its own pros and cons.
In the world of databases, we call these ways "Database Models" dierent methods to
store and organize data.
Lets explore the most popular database models like a story, one by one, with examples and
their good and bad sides.
1. Hierarchical Database Model
Story:
Imagine your library keeps informaon like a family tree:
At the top, you have Main Category (e.g., Science)
Under that, you have Sub Category (e.g., Physics)
Then, you have Books
And under Books, you may have Chapters
So, the structure looks like:
Science → Physics → Book: Concepts of Physics → Chapter 1
Each item has only one parent, just like in a tree.
Advantages:
Fast access: Because its like a direct path (like a tree), searching is fast.